<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="js/jquery-3.1.1.js" type="text/javascript"></script>
<body>

</body>
</html>
<script>
    $(function () {
        $.ajax({
            type: 'POST',
            url: 'getUser',
            dataType: 'JSON',
            success: function (data) {
                console.log("pageSize===" + data.pageSize);
                console.log("totalPages===" + data.totalPages);
               /* console.log("userList===" + data.userList);*/

                 $.each(data.userList, function (idx, obj) {
                     console.log(obj.id + "," + obj.name);
                 });
            }
        });
    });
</script>